import request2 from '@/utils/request2'
//获取课内学习技巧
export const reqclassdata = ()=>request2({
    url:`/api/save/getleft2`,
    method:"get",
})
export const editdetail_grade = (Cform)=>request2({
    url:`/api/editdetail_grade`,
    method:"post",
    data:{Cform}
})
export const getAPIgetlistdata_lorr = ()=>request2({
    url:`/api/getAPIgetlistdata_lorr`,
    method:"get"
})
//课外数据id获取右侧数据
export const byleftlistdata = (id)=>request2({
    url:`/api/byleftlistdata`,
    method:"post",
    data:{id}
})
//changeAPIgetlistdata_lorr
export const changeAPIgetlistdata_lorr = (keyword)=>request2({
    url:`/api/save/changeAPIgetlistdata_lorr`,
    method:"post",
    data:{keyword}
})

export const gettabledata = (id)=>request2({
    url:`/api/save/getlist2_right`,
    method:"post",
    data:{id}
})
//savebutton
export const savebutton = (keyword)=>request2({
    url:`/api/save/savebutton`,
    method:"post",
    data:{keyword}
})
export const changeishow = (keyword)=>request2({
    url:`/api/save/changeishow`,
    method:"post",
    data:{keyword}
})
///save/changelist1ishow
export const changelist1ishow = (keyword)=>request2({
    url:`/api/save/changelist1ishow`,
    method:"post",
    data:{keyword}
})